<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0">
		<title>第一志愿</title>
	</head>
	<body>
		<div id="obox">
			<router-view></router-view>
		</div>
		<script src="node_modules/jcy/jcy.js"></script>
		<script>
			jcy.setJs('../', { //配置node依赖包
				'vue-router': 'vue-router/dist/vue-router',
				'vue': 'vue/dist/vue.min',
				'vue-touch':'vue-touch/vue-touch',
				'hammer':'vue-touch/node_modules/hammerjs/hammer'
			})
			jcy.setHtml('../../src/phone',{
				'index':'index',
			})
			jcy.setcss('../../src/style/reset',{
				'phonereset':'phonereset'
			})
			jcy.use({
				js:['vue','vue-router','jcytest'],
				html:['index'],
				css:['phonereset']
			},function(tpl){
				jcy.jcytest({
					url:'./test/one.png'
				})
				Vue.use(VueRouter);
				console.log(jcy.require('index'))
				var routes=[{
					name:'index',
					path:'/',
					component:jcy.require('index')
				}]
				var router=new VueRouter({routes:routes})
				new Vue({
					el:'#obox',
					router:router
				})
			})
		</script>
	</body>
</html>
